export default [
    // 默认页
    {
        path: '/',
        redirect: '/main'

    },
    // 测试页
    {
        path: '/main',
        name: 'main',
        component: resolve => require(['@/pages/main'], resolve),
        meta: {
            title: '天士力'
        }
    },
    // 问卷调查
    {
        path: '/question',
        name: 'question',
        component: resolve => require(['@/pages/common/question'], resolve),
        meta: {
            title: '问卷调查'
        }
    },
    // 我的预约

    {
        path: '/myorder',
        name: 'myorder',
        component: resolve => require(['@/pages/common/myorder'], resolve),
        meta: {
            title: '我的预约'
        }
    },
    // 404
    {
        path: '*',
        name: '404',
        component: resolve => require(['@/components/404'], resolve),
        meta: {
            title: '404'
        }
    }
]
